3.3.18 \(\int \frac {(a+b \log (c x^n)) \text {Li}_3(e x)}{x^2} \, dx\) [218]

Optimal. Leaf size=174 \[ 3 b e n \log (x)-\frac {1}{2} b e n \log ^2(x)+e \log (x) \left (a+b \log \left (c x^n\right )\right )-3 b e n \log (1-e x)+\frac {3 b n \log (1-e x)}{x}-e \left (a+b \log \left (c x^n\right )\right ) \log (1-e x)+\frac {\left (a+b \log \left (c x^n\right )\right ) \log (1-e x)}{x}-b e n \text {Li}_2(e x)-\frac {2 b n \text {Li}_2(e x)}{x}-\frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_2(e x)}{x}-\frac {b n \text {Li}_3(e x)}{x}-\frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_3(e x)}{x} \]

[Out]

3*b*e*n*ln(x)-1/2*b*e*n*ln(x)^2+e*ln(x)*(a+b*ln(c*x^n))-3*b*e*n*ln(-e*x+1)+3*b*n*ln(-e*x+1)/x-e*(a+b*ln(c*x^n)
)*ln(-e*x+1)+(a+b*ln(c*x^n))*ln(-e*x+1)/x-b*e*n*polylog(2,e*x)-2*b*n*polylog(2,e*x)/x-(a+b*ln(c*x^n))*polylog(
2,e*x)/x-b*n*polylog(3,e*x)/x-(a+b*ln(c*x^n))*polylog(3,e*x)/x

________________________________________________________________________________________

Rubi [A]
time = 0.11, antiderivative size = 174, normalized size of antiderivative = 1.00, number of steps used = 19, number of rules used = 9, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.474, Rules used = {2432, 2442, 36, 29, 31, 2423, 2338, 2438, 6726} \begin {gather*} -\frac {\text {PolyLog}(2,e x) \left (a+b \log \left (c x^n\right )\right )}{x}-\frac {\text {PolyLog}(3,e x) \left (a+b \log \left (c x^n\right )\right )}{x}-b e n \text {PolyLog}(2,e x)-\frac {2 b n \text {PolyLog}(2,e x)}{x}-\frac {b n \text {PolyLog}(3,e x)}{x}+e \log (x) \left (a+b \log \left (c x^n\right )\right )-e \log (1-e x) \left (a+b \log \left (c x^n\right )\right )+\frac {\log (1-e x) \left (a+b \log \left (c x^n\right )\right )}{x}-\frac {1}{2} b e n \log ^2(x)+3 b e n \log (x)-3 b e n \log (1-e x)+\frac {3 b n \log (1-e x)}{x} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((a + b*Log[c*x^n])*PolyLog[3, e*x])/x^2,x]

[Out]

3*b*e*n*Log[x] - (b*e*n*Log[x]^2)/2 + e*Log[x]*(a + b*Log[c*x^n]) - 3*b*e*n*Log[1 - e*x] + (3*b*n*Log[1 - e*x]
)/x - e*(a + b*Log[c*x^n])*Log[1 - e*x] + ((a + b*Log[c*x^n])*Log[1 - e*x])/x - b*e*n*PolyLog[2, e*x] - (2*b*n
*PolyLog[2, e*x])/x - ((a + b*Log[c*x^n])*PolyLog[2, e*x])/x - (b*n*PolyLog[3, e*x])/x - ((a + b*Log[c*x^n])*P
olyLog[3, e*x])/x

Rule 29

Int[(x_)^(-1), x_Symbol] :> Simp[Log[x], x]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 36

Int[1/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))), x_Symbol] :> Dist[b/(b*c - a*d), Int[1/(a + b*x), x], x] -
Dist[d/(b*c - a*d), Int[1/(c + d*x), x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0]

Rule 2338

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))/(x_), x_Symbol] :> Simp[(a + b*Log[c*x^n])^2/(2*b*n), x] /; FreeQ[{a
, b, c, n}, x]

Rule 2423

Int[Log[(d_.)*((e_) + (f_.)*(x_)^(m_.))^(r_.)]*((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((g_.)*(x_))^(q_.), x_Sym
bol] :> With[{u = IntHide[(g*x)^q*Log[d*(e + f*x^m)^r], x]}, Dist[a + b*Log[c*x^n], u, x] - Dist[b*n, Int[Dist
[1/x, u, x], x], x]] /; FreeQ[{a, b, c, d, e, f, g, r, m, n, q}, x] && (IntegerQ[(q + 1)/m] || (RationalQ[m] &
& RationalQ[q])) && NeQ[q, -1]

Rule 2432

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((d_.)*(x_))^(m_.)*PolyLog[k_, (e_.)*(x_)^(q_.)], x_Symbol] :> Simp[
(-b)*n*(d*x)^(m + 1)*(PolyLog[k, e*x^q]/(d*(m + 1)^2)), x] + (-Dist[q/(m + 1), Int[(d*x)^m*PolyLog[k - 1, e*x^
q]*(a + b*Log[c*x^n]), x], x] + Dist[b*n*(q/(m + 1)^2), Int[(d*x)^m*PolyLog[k - 1, e*x^q], x], x] + Simp[(d*x)
^(m + 1)*PolyLog[k, e*x^q]*((a + b*Log[c*x^n])/(d*(m + 1))), x]) /; FreeQ[{a, b, c, d, e, m, n, q}, x] && IGtQ
[k, 0]

Rule 2438

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> Simp[-PolyLog[2, (-c)*e*x^n]/n, x] /; FreeQ[{c, d,
 e, n}, x] && EqQ[c*d, 1]

Rule 2442

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))*((f_.) + (g_.)*(x_))^(q_.), x_Symbol] :> Simp[(f + g*
x)^(q + 1)*((a + b*Log[c*(d + e*x)^n])/(g*(q + 1))), x] - Dist[b*e*(n/(g*(q + 1))), Int[(f + g*x)^(q + 1)/(d +
 e*x), x], x] /; FreeQ[{a, b, c, d, e, f, g, n, q}, x] && NeQ[e*f - d*g, 0] && NeQ[q, -1]

Rule 6726

Int[((d_.)*(x_))^(m_.)*PolyLog[n_, (a_.)*((b_.)*(x_)^(p_.))^(q_.)], x_Symbol] :> Simp[(d*x)^(m + 1)*(PolyLog[n
, a*(b*x^p)^q]/(d*(m + 1))), x] - Dist[p*(q/(m + 1)), Int[(d*x)^m*PolyLog[n - 1, a*(b*x^p)^q], x], x] /; FreeQ
[{a, b, d, m, p, q}, x] && NeQ[m, -1] && GtQ[n, 0]

Rubi steps

\begin {align*} \int \frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_3(e x)}{x^2} \, dx &=-\frac {b n \text {Li}_3(e x)}{x}-\frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_3(e x)}{x}+(b n) \int \frac {\text {Li}_2(e x)}{x^2} \, dx+\int \frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_2(e x)}{x^2} \, dx\\ &=-\frac {2 b n \text {Li}_2(e x)}{x}-\frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_2(e x)}{x}-\frac {b n \text {Li}_3(e x)}{x}-\frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_3(e x)}{x}-2 \left ((b n) \int \frac {\log (1-e x)}{x^2} \, dx\right )-\int \frac {\left (a+b \log \left (c x^n\right )\right ) \log (1-e x)}{x^2} \, dx\\ &=e \log (x) \left (a+b \log \left (c x^n\right )\right )-e \left (a+b \log \left (c x^n\right )\right ) \log (1-e x)+\frac {\left (a+b \log \left (c x^n\right )\right ) \log (1-e x)}{x}-\frac {2 b n \text {Li}_2(e x)}{x}-\frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_2(e x)}{x}-\frac {b n \text {Li}_3(e x)}{x}-\frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_3(e x)}{x}+(b n) \int \left (-\frac {e \log (x)}{x}-\frac {\log (1-e x)}{x^2}+\frac {e \log (1-e x)}{x}\right ) \, dx-2 \left (-\frac {b n \log (1-e x)}{x}-(b e n) \int \frac {1}{x (1-e x)} \, dx\right )\\ &=e \log (x) \left (a+b \log \left (c x^n\right )\right )-e \left (a+b \log \left (c x^n\right )\right ) \log (1-e x)+\frac {\left (a+b \log \left (c x^n\right )\right ) \log (1-e x)}{x}-\frac {2 b n \text {Li}_2(e x)}{x}-\frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_2(e x)}{x}-\frac {b n \text {Li}_3(e x)}{x}-\frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_3(e x)}{x}-(b n) \int \frac {\log (1-e x)}{x^2} \, dx-(b e n) \int \frac {\log (x)}{x} \, dx+(b e n) \int \frac {\log (1-e x)}{x} \, dx-2 \left (-\frac {b n \log (1-e x)}{x}-(b e n) \int \frac {1}{x} \, dx-\left (b e^2 n\right ) \int \frac {1}{1-e x} \, dx\right )\\ &=-\frac {1}{2} b e n \log ^2(x)+e \log (x) \left (a+b \log \left (c x^n\right )\right )+\frac {b n \log (1-e x)}{x}-e \left (a+b \log \left (c x^n\right )\right ) \log (1-e x)+\frac {\left (a+b \log \left (c x^n\right )\right ) \log (1-e x)}{x}-2 \left (-b e n \log (x)+b e n \log (1-e x)-\frac {b n \log (1-e x)}{x}\right )-b e n \text {Li}_2(e x)-\frac {2 b n \text {Li}_2(e x)}{x}-\frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_2(e x)}{x}-\frac {b n \text {Li}_3(e x)}{x}-\frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_3(e x)}{x}+(b e n) \int \frac {1}{x (1-e x)} \, dx\\ &=-\frac {1}{2} b e n \log ^2(x)+e \log (x) \left (a+b \log \left (c x^n\right )\right )+\frac {b n \log (1-e x)}{x}-e \left (a+b \log \left (c x^n\right )\right ) \log (1-e x)+\frac {\left (a+b \log \left (c x^n\right )\right ) \log (1-e x)}{x}-2 \left (-b e n \log (x)+b e n \log (1-e x)-\frac {b n \log (1-e x)}{x}\right )-b e n \text {Li}_2(e x)-\frac {2 b n \text {Li}_2(e x)}{x}-\frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_2(e x)}{x}-\frac {b n \text {Li}_3(e x)}{x}-\frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_3(e x)}{x}+(b e n) \int \frac {1}{x} \, dx+\left (b e^2 n\right ) \int \frac {1}{1-e x} \, dx\\ &=b e n \log (x)-\frac {1}{2} b e n \log ^2(x)+e \log (x) \left (a+b \log \left (c x^n\right )\right )-b e n \log (1-e x)+\frac {b n \log (1-e x)}{x}-e \left (a+b \log \left (c x^n\right )\right ) \log (1-e x)+\frac {\left (a+b \log \left (c x^n\right )\right ) \log (1-e x)}{x}-2 \left (-b e n \log (x)+b e n \log (1-e x)-\frac {b n \log (1-e x)}{x}\right )-b e n \text {Li}_2(e x)-\frac {2 b n \text {Li}_2(e x)}{x}-\frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_2(e x)}{x}-\frac {b n \text {Li}_3(e x)}{x}-\frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_3(e x)}{x}\\ \end {align*}

________________________________________________________________________________________

Mathematica [F]
time = 0.11, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_3(e x)}{x^2} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Integrate[((a + b*Log[c*x^n])*PolyLog[3, e*x])/x^2,x]

[Out]

Integrate[((a + b*Log[c*x^n])*PolyLog[3, e*x])/x^2, x]

________________________________________________________________________________________

Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {\left (a +b \ln \left (c \,x^{n}\right )\right ) \polylog \left (3, e x \right )}{x^{2}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*ln(c*x^n))*polylog(3,e*x)/x^2,x)

[Out]

int((a+b*ln(c*x^n))*polylog(3,e*x)/x^2,x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^n))*polylog(3,e*x)/x^2,x, algorithm="maxima")

[Out]

(e*log(x) - ((x*e - 1)*log(-x*e + 1) + dilog(x*e) + polylog(3, x*e))/x)*a - b*(((2*n + log(c) + log(x^n))*dilo
g(x*e) - (n*x*e*log(x) + 3*n + log(c))*log(-x*e + 1) - (x*e*log(x) - (x*e - 1)*log(-x*e + 1))*log(x^n) + (n +
log(c) + log(x^n))*polylog(3, x*e))/x + integrate(((3*n + log(c))*e + (2*n*x*e^2 - n*e)*log(x))/(x^2*e - x), x
))

________________________________________________________________________________________

Fricas [A]
time = 0.41, size = 167, normalized size = 0.96 \begin {gather*} \frac {b n x e \log \left (x\right )^{2} - 2 \, {\left (b n x e + 2 \, b n + a\right )} {\rm Li}_2\left (x e\right ) - 2 \, {\left ({\left (3 \, b n + a\right )} x e - 3 \, b n - a\right )} \log \left (-x e + 1\right ) - 2 \, {\left (b {\rm Li}_2\left (x e\right ) + {\left (b x e - b\right )} \log \left (-x e + 1\right )\right )} \log \left (c\right ) + 2 \, {\left (b x e \log \left (c\right ) - b n {\rm Li}_2\left (x e\right ) + {\left (3 \, b n + a\right )} x e - {\left (b n x e - b n\right )} \log \left (-x e + 1\right )\right )} \log \left (x\right ) - 2 \, {\left (b n \log \left (x\right ) + b n + b \log \left (c\right ) + a\right )} {\rm polylog}\left (3, x e\right )}{2 \, x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^n))*polylog(3,e*x)/x^2,x, algorithm="fricas")

[Out]

1/2*(b*n*x*e*log(x)^2 - 2*(b*n*x*e + 2*b*n + a)*dilog(x*e) - 2*((3*b*n + a)*x*e - 3*b*n - a)*log(-x*e + 1) - 2
*(b*dilog(x*e) + (b*x*e - b)*log(-x*e + 1))*log(c) + 2*(b*x*e*log(c) - b*n*dilog(x*e) + (3*b*n + a)*x*e - (b*n
*x*e - b*n)*log(-x*e + 1))*log(x) - 2*(b*n*log(x) + b*n + b*log(c) + a)*polylog(3, x*e))/x

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a + b \log {\left (c x^{n} \right )}\right ) \operatorname {Li}_{3}\left (e x\right )}{x^{2}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*ln(c*x**n))*polylog(3,e*x)/x**2,x)

[Out]

Integral((a + b*log(c*x**n))*polylog(3, e*x)/x**2, x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^n))*polylog(3,e*x)/x^2,x, algorithm="giac")

[Out]

integrate((b*log(c*x^n) + a)*polylog(3, x*e)/x^2, x)

________________________________________________________________________________________

Mupad [F(-1)]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \text {Hanged} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((polylog(3, e*x)*(a + b*log(c*x^n)))/x^2,x)

[Out]

\text{Hanged}

________________________________________________________________________________________